package work;

import javax.swing.*;

/**
 * @author Mark
 * @version 1.0
 * @date 2020/5/17 10:41
 * @description 测试类
 */
public class AppTest {

    public static void main(String[] args) {
        JFrame frame = new JFrame("贪吃蛇");
        frame.setResizable(false);
        frame.setBounds(10, 10, 900, 720);
        frame.setVisible(true);
        frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
        frame.add(new GamePanel());
    }
}
